package com.gin.no_gay_alliance.enums;

import java.util.Arrays;

/**
 * 主题
 *
 * @author : ginstone
 * @version : v1.0.0
 * @since : 2023/8/18 16:13
 **/
public enum ThemeNga {
    YELLOW,
    GREEN,
    BLACK,

    ;

    public static ThemeNga find(int index) {
        return Arrays.stream(values()).filter(i -> i.ordinal() == index).findFirst().orElse(null);
    }
}
